{% extends "../master.html" %}

{% block header %}
    {% include "../header.html" %}
{% endblock %}

{% block menu %}
    {% include "menu.html" %}
{% endblock %}

{% block page %}
    <h1>{{ settings.exposition }}:</h1>
    <div>
        <b>{{ settings.start }}:</b> {{ date_start }}
        <b>{{ settings.end }}:</b> {{ date_end }}
    </div>
    <h2>{{ exposition.title }}</h2>

    {% if exposition.html_info %}
        <div class="document">{{ exposition.html_info }}</div>
    {% endif %}

    {% if admin %}
    <br />
    <form class="form" action="/exposition/edit" method="post">
        <div class="button">
            <input name="edit" value="Edit" type="submit" /> |
            <input name="new" value="New" type="submit" />
        </div>
        <input name="exposition_key" value="{{ exposition.key }}" type="hidden" />
        <input name="size_key" value="{{ size.key }}" type="hidden" />
        <input name="language_key" value="{{ language.key }}" type="hidden" />
    </form>
    {% endif %}
{% endblock %}

{% block footer %}
    {% include "../footer.html" %}
{% endblock %}
